<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>Welcome to CodeIgniter</title>
</head>
<body>
    <table border="2" >
        <thead>
             <th>id</th>
             <th>ho`</th>
             <th>ten</th>
        </thead>
       
        <tbody>
       <?php
        foreach($this->m->getAll() as $rows)
        {
           echo "<tr>
             <td>$rows->id </td>
             <td>$rows->tieude </td>
             <td>$rows->tacgia</td>
             </tr>";
        }
       ?>
        </tbody>
        </table>  
 <div id="a">
             
 <?php

        
        ?>
            
            
 </div>
</body>

        

</html>